with open('test.txt','r',encoding='utf8') as f:
    contents = f.read()

print(contents)